home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980424-19980901 / 000089_news@newsmaster….columbia.edu _Sun May 17 19:03:27 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA13560
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 17 May 1998 19:03:27 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA22454
  7.     for kermit.misc@watsun; Sun, 17 May 1998 19:03:26 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: TAKE command file error problem
  12. Date: 17 May 1998 22:57:40 GMT
  13. Organization: Columbia University
  14. Lines: 40
  15. Message-ID: <6jnq14$m06$1@apakabar.cc.columbia.edu>
  16. References: <6jni7f$kh6@bgtnsc03.worldnet.att.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8742
  19.  
  20. In article <6jni7f$kh6@bgtnsc03.worldnet.att.net>,
  21. Bernie  <bfb@worldnet.att.net> wrote:
  22. : I have a macro defined as follows:
  23. : define work -
  24. : define recipients bernie@cji.com,-
  25. : define mtype multitech,-
  26. : define mline /dev/term/i1H,-
  27. : define mspeed 19200,-
  28. : define ddir /home/oper
  29. : Then later in the script, the following is executed:
  30. : set line \m(mline)
  31. : if failure goto errhandler
  32. : set speed \m(mspeed)
  33. : if failure goto errhandler
  34. : When the "set line \m(mline)" is executed, it generates the following
  35. : error:
  36. : ?Error in TAKE command file: Line too long or contains NUL characters
  37. : This same script works ok at home with C-Kernmit for linux.  I only
  38. : encounter the error when I run the script on our UnixWare 2.02 server at
  39. : work, using the same version number, 6.0.192.
  40. It checks out OK here.  Are you sure you invoked the WORK macro after it
  41. was defined and before the SET LINE command was given?
  42.  
  43. Try adding ECHO commands to debug:
  44.  
  45.   echo SET LINE: "\m(mline)"
  46.   set line \m(mline)
  47.   if failure goto errhandler
  48.   echo SET SPEED: "\m(mspeed)"
  49.   set speed \m(mspeed)
  50.   if failure goto errhandler
  51.  
  52. - Frank